package com.yuyang.gulimall.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author yu yang
 * @date 2023/1/18 -23:06
 */
@Data
@Component
@ConfigurationProperties(prefix = "gulimall.thread")
public class MyThreadPoolProperties {
    private int corePoolSize;
    private int maximumPoolSize;
    private long keepAliveTime;
}
